package org.dtrd.modules.evaluation.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 心理健康临床症状评估
 * </p>
 *
 * @author QR
 * @since 2021-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DtrdEntEvaluationRdPsychology对象", description="心理健康临床症状评估")
public class DtrdEntEvaluationRdPsychology implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "data_id", type = IdType.AUTO)
    private Integer dataId;

    @TableLogic
    private Integer isDel;

    private Integer patientId;

    private Date createTime;

    private String input;

    private Integer totalScore;

    private String totalLevel;

    private Float somatizationScore;

    private String somatizationLevel;

    private Float obsessionScore;

    private String obsessionLevel;

    private Float relationshipScore;

    private String relationshipLevel;

    private Float depressedScore;

    private String depressedLevel;

    private Float anxiousScore;

    private String anxiousLevel;

    private Float hostileScore;

    private String hostileLevel;

    private Float terrorScore;

    private String terrorLevel;

    private Float paranoiaScore;

    private String paranoiaLevel;

    private Float mentalScore;

    private String mentalLevel;

    private Integer positiveNum;

    private Integer ifPositive;

    @ApiModelProperty(value = "输出内容")
    private String output;

    public DtrdEntEvaluationRdPsychology init() {
        isDel = 0;
        createTime = new Date();
        return this;
    }

}
